* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    font-size: calc(12px + .6667vw);
    // font-size: calc(12px + .3333vw);
    color: #333333;
    // line-height: 30px;
    // letter-spacing: 1px;
}

a {
    text-decoration: none;
}

input {
    background: none;
    outline: none;
    border: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}

aside{
    position: fixed;
    bottom: 20%;
    right: 0;
    img{
        width: calc(40px + 8.3333vw);
        height: calc(60px + 8.3333vw);
    }
}

header {
    width: 100%;
    font-size: calc(12px + .3333vw);

    nav {
        padding: 0 !important;

        .navbar-brand {
            margin-right: 5.4167vw;
        }

        .navbar-toggler {
            border: 0;

            // .navbar-toggler-icon {
            //     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.84%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            // }
            &:focus {
                box-shadow: unset
            }
        }

        .navbar-collapse {
            justify-content: space-between;

            .navbar_ {
                flex-grow: 1;

                .nav-link {
                    flex: 1;
                    color: #333;
                    height: calc(30px + 2.5vw);
                    line-height: calc(30px + 2.5vw);
                    padding: 0;
                    font-weight: bold;
                    // text-align: center;
                    // padding: 0 !important;
                    white-space: nowrap;
                    // padding: 0 2.5vw !important;
                }

                .nav-link.active {
                    background-color: #ffa800;
                    color: #fff;
                }
            }

            .lanNav {

                // margin-left: 1.6667vw;
                // align-items: center;
                .nav-link {
                    padding: 0;
                    height: calc(30px + 2.5vw);
                    line-height: calc(30px + 2.5vw);
                    font-weight: bold;
                }

                .nav-link.active {
                    color: #ffa800;
                }
            }
        }

    }
}

.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 7.5vw;

    .t_en {
        font-size: calc(15px + 1.25vw);
        font-weight: bold;
        color: #999999;
        margin-bottom: 1.6667vw;
        text-transform: uppercase;
    }

    .t_zh {
        font-size: calc(20px + 1.5vw);
        font-weight: bold;
        position: relative;

        &::after {
            content: "";
            position: absolute;
            width: calc(50px + 2.1667vw);
            height: 4px;
            background-color: #ffa800;
            bottom: calc(-12px - .25vw);
            left: 50%;
            transform: translateX(-50%);
        }
    }
}

.pic {
    position: relative;

    .text_bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(19, 20, 23, 0.75);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: all 0.6s;

        h1 {
            font-size: calc(20px + 1.6667vw);
            font-weight: bold;
            margin-bottom: 1.25vw;
        }

        span {
            font-size: calc(12px + .5vw);
            display: flex;
            text-transform: uppercase;
            justify-content: center;

            span {
                margin-left: auto;
            }
        }
    }

    &:hover {
        .text_bg {
            opacity: 1;
        }
    }
}

.module1 {
    margin-top: 15.8333vw;

    .text {
        background-color: #f3f3f3;
        padding-top: 11.25vw;
        padding-bottom: 12.1667vw;
        padding-left: 10vw;
        padding-right: 4vw;
        display: flex;
        flex-direction: column;

        h1 {
            font-weight: bold;
            font-size: calc(20px + 1.3333vw);
        }

        small {
            font-size: calc(12px + 1vw);
            color: #666666;
            margin-bottom: 3.75vw;
            text-transform: uppercase;
        }

        p {}
    }
}

.module2 {
    margin-top: 15.4167vw;
    display: flex;
    flex-direction: column;

    .content {
        width: 90%;
        margin: -2.9167vw auto 0;
        background-color: #f3f3f3;
        padding: 2.5vw 4.1667vw 0;

        p {
            margin: 5vw 0;
            text-align: center;
            padding: 0 3vw;
        }
    }
}

.module3 {
    margin-top: 15.8333vw;

    p {
        width: 85%;
        margin: 0 auto;
        text-align: center;
        color: #000;
        margin-bottom: 6.25vw;
    }
}

.module4 {
    margin-top: 15vw;

    nav {
        margin-bottom: 4.5833vw;

        ul {
            display: flex;
            justify-content: center;
            align-items: center;

            li {
                font-size: calc(10px + 1.6667vw);
                color: #666666;
                font-weight: bold;
                user-select: none;
                cursor: pointer;
                &:hover{
                    color: #ffb119;
                }
            }
        }
    }
}

.module5 {
    .carousel-item{
        // display: flex;
        margin-left: 0;
    }
        .item {
            float: left;
            // display: inline-block;
            .bigpic{
                height: calc(144px + 8.3333vw);
            }
            .m5_text {
                padding: 1.6667vw;
                padding-bottom: 1.25vw;
                border: 1px solid #ccc;
                overflow: hidden;
                .head_title {
                    display: block;
                    font-size: calc(12px + .5vw);
                    font-weight: bold;
                    margin-bottom: 2vw;
                    white-space: nowrap;
                }
                p{
                    font-size: calc(12px + .1667vw);
                    color: #666666;
                }
                .bottom{
                    display: flex;
                    .left,.right{
                        font-size: calc(12px + .1667vw);
                    color: #999;
                    img{
                        margin-right: .6667vw;
                        vertical-align: middle;
                    }
                    }
                    .left{
                        margin-right: 2.5vw;
                    }
                }
            }
            &:hover{
                .bigpic{
                    height: calc(270px + 8.3333vw);
                }
                .m5_text{
                    .head_title{
                        margin: 0;
                    }
                    p{
                        display: none;
                    }
                    .bottom{
                        display: none;
                    }
                }
            }
        }
        .carousel-control-prev{
            width: 10%;
            .carousel-control-prev-icon{
                height: 3rem;
                background-image: url('../img/module5_6.png');
            }
        }
        .carousel-control-next{
            width: 10%;
            .carousel-control-next-icon{
                height: 3rem;
                background-image: url('../img/module5_7.png');
            }
        }
}

footer {
    margin-top: 14.6667vw;
    background-color: #2a2d32;
    color: #fff;
    .top {
        overflow: hidden;
        .nav {
            width: 80%;
            margin: 4.1667vw auto 0;
            display: flex;
            justify-content: space-around;
            a{
                color: #fff;
            }
        }
        .f_info{
            margin-top: 2.5vw;
            display: flex;
            justify-content: space-around;
            margin-bottom: 3.6667vw;
        }
    }

    hr {
        margin: 0;
        opacity: 1;
        border-top: 2px solid #666666;
    }

    .bottom {
        padding: 20px 0;
        font-size: calc(12px + .3333vw);
        .row {
            .left,
            .right {

            }
        }
    }
}

@media screen and (max-width:992px){
    .module5{
        .carousel-item{
            .item:last-child{
                transform: translateX(50%);
            }
        }
    }
    aside{
        display: none;
    }
}
@media screen and (max-width:578px){
    .module5{
        .carousel-item{
            .item:last-child{
                transform: translateX(0);
            }
        }
    }
    footer{
        .top {
            .f_info{
                // margin-top: 2.5vw;
                // display: flex;
                // justify-content: space-around;
                // margin-bottom: 3.6667vw;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                div:first-child{
                    margin-bottom: 20px;
                }
            }
        }
    }
}